import { IbaseDataInterface } from "./ibaseDataInterface"

export default class BLEconst {
    public static DEVICE_KEY = "device"
    public static SERVICE_KEY = "service"
    // Characteristics
    public static CHARACTERISTICS_KEY = "characteristics"
    //             indicate	boolean	该特征值是否支持 indicate 操作
    public static CHARACTERISTICS_INDICATE_KEY = "characteristics_indicate"
    // notify	boolean	该特征值是否支持 notify 操作
    public static CHARACTERISTICS_NOTIFY_KEY = "characteristics_notify"
    // read	boolean	该特征值是否支持 read 操作
    public static CHARACTERISTICS_READ_KEY = "characteristics_read"

    // write	boolean	该特征值是否支持 write 操作
    public static CHARACTERISTICS_WRITE_KEY = "characteristics_write"
    //保存硬件上传数据
    public static HARDWARE_KEY = "Hardware"

}
 interface IBLEInterface extends IbaseDataInterface{
    text?: string

}
export type BLEData = IBLEInterface